package com.itheima.tlias84.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 员工类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Emp {
    private int id; //主键id
    private String username; //用户名
    private String password; //密码
    private String name; //姓名
    private int gender; //性别 1男2女
    private String phone; //手机号
    private Integer job; //部门id
    private Integer salary; //工资
    private String image; //头像图片
    private LocalDate entryDate; //入职日期
    private Integer deptId; //部门id
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //最后修改时间
}
